package com.zzuli.yxypre.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzuli.yxypre.comment.R;
import com.zzuli.yxypre.entity.Singer;

import javax.servlet.http.HttpServletRequest;

/**
 * @auther pony
 * @create 2023-05-12 13:38
 */
public interface TopService extends IService<Singer> {
    /**
     * 播放量统计
     * @param songId
     * @return
     */
    R playCount(Integer songId);

    /**
     * 获取飙升榜
     * @return
     */
    R soarList(HttpServletRequest request);

    /**
     * 获取热歌榜：每周更新
     * @return
     */
    R hotList(HttpServletRequest request);

    /**
     * 获取新歌榜：每周更新
     * @return
     */
    R newList(HttpServletRequest request);

    /**
     * 获取播放量前 5 的专辑数据
     * @return
     */
    R getBanner();
}
